package com.dty.dtycompute.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tdata_ht_voharmonic
 */
@Data
public class TdataHtVoharmonic implements Serializable {
    /**
     * 
     */
    private String id;

    /**
     * 
     */
    private String meterid;

    /**
     * 
     */
    private String departid;

    /**
     * 
     */
    private String measureid;

    /**
     * 
     */
    private String meterno;

    /**
     * 
     */
    private Date dt;

    /**
     * 
     */
    private String category;

    /**
     * 
     */
    private BigDecimal hr1;

    /**
     * 
     */
    private BigDecimal hr2;

    /**
     * 
     */
    private BigDecimal hr3;

    /**
     * 
     */
    private BigDecimal hr4;

    /**
     * 
     */
    private BigDecimal hr5;

    /**
     * 
     */
    private BigDecimal hr6;

    /**
     * 
     */
    private BigDecimal hr7;

    /**
     * 
     */
    private BigDecimal hr8;

    /**
     * 
     */
    private BigDecimal hr9;

    /**
     * 
     */
    private BigDecimal hr10;

    /**
     * 
     */
    private BigDecimal hr11;

    /**
     * 
     */
    private BigDecimal hr12;

    /**
     * 
     */
    private BigDecimal hr13;

    /**
     * 
     */
    private BigDecimal hr14;

    /**
     * 
     */
    private BigDecimal hr15;

    /**
     * 
     */
    private BigDecimal hr16;

    /**
     * 
     */
    private BigDecimal hr17;

    /**
     * 
     */
    private BigDecimal hr18;

    /**
     * 
     */
    private BigDecimal hr19;

    /**
     * 
     */
    private BigDecimal hr20;

    /**
     * 
     */
    private BigDecimal hr21;

    /**
     * 
     */
    private BigDecimal hr22;

    /**
     * 
     */
    private BigDecimal hr23;

    /**
     * 
     */
    private BigDecimal hr24;

    /**
     * 
     */
    private BigDecimal hr25;

    /**
     * 
     */
    private BigDecimal hr26;

    /**
     * 
     */
    private BigDecimal hr27;

    /**
     * 
     */
    private BigDecimal hr28;

    /**
     * 
     */
    private BigDecimal hr29;

    /**
     * 
     */
    private BigDecimal hr30;

    /**
     * 
     */
    private BigDecimal hr31;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TdataHtVoharmonic other = (TdataHtVoharmonic) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMeterid() == null ? other.getMeterid() == null : this.getMeterid().equals(other.getMeterid()))
            && (this.getDepartid() == null ? other.getDepartid() == null : this.getDepartid().equals(other.getDepartid()))
            && (this.getMeasureid() == null ? other.getMeasureid() == null : this.getMeasureid().equals(other.getMeasureid()))
            && (this.getMeterno() == null ? other.getMeterno() == null : this.getMeterno().equals(other.getMeterno()))
            && (this.getDt() == null ? other.getDt() == null : this.getDt().equals(other.getDt()))
            && (this.getCategory() == null ? other.getCategory() == null : this.getCategory().equals(other.getCategory()))
            && (this.getHr1() == null ? other.getHr1() == null : this.getHr1().equals(other.getHr1()))
            && (this.getHr2() == null ? other.getHr2() == null : this.getHr2().equals(other.getHr2()))
            && (this.getHr3() == null ? other.getHr3() == null : this.getHr3().equals(other.getHr3()))
            && (this.getHr4() == null ? other.getHr4() == null : this.getHr4().equals(other.getHr4()))
            && (this.getHr5() == null ? other.getHr5() == null : this.getHr5().equals(other.getHr5()))
            && (this.getHr6() == null ? other.getHr6() == null : this.getHr6().equals(other.getHr6()))
            && (this.getHr7() == null ? other.getHr7() == null : this.getHr7().equals(other.getHr7()))
            && (this.getHr8() == null ? other.getHr8() == null : this.getHr8().equals(other.getHr8()))
            && (this.getHr9() == null ? other.getHr9() == null : this.getHr9().equals(other.getHr9()))
            && (this.getHr10() == null ? other.getHr10() == null : this.getHr10().equals(other.getHr10()))
            && (this.getHr11() == null ? other.getHr11() == null : this.getHr11().equals(other.getHr11()))
            && (this.getHr12() == null ? other.getHr12() == null : this.getHr12().equals(other.getHr12()))
            && (this.getHr13() == null ? other.getHr13() == null : this.getHr13().equals(other.getHr13()))
            && (this.getHr14() == null ? other.getHr14() == null : this.getHr14().equals(other.getHr14()))
            && (this.getHr15() == null ? other.getHr15() == null : this.getHr15().equals(other.getHr15()))
            && (this.getHr16() == null ? other.getHr16() == null : this.getHr16().equals(other.getHr16()))
            && (this.getHr17() == null ? other.getHr17() == null : this.getHr17().equals(other.getHr17()))
            && (this.getHr18() == null ? other.getHr18() == null : this.getHr18().equals(other.getHr18()))
            && (this.getHr19() == null ? other.getHr19() == null : this.getHr19().equals(other.getHr19()))
            && (this.getHr20() == null ? other.getHr20() == null : this.getHr20().equals(other.getHr20()))
            && (this.getHr21() == null ? other.getHr21() == null : this.getHr21().equals(other.getHr21()))
            && (this.getHr22() == null ? other.getHr22() == null : this.getHr22().equals(other.getHr22()))
            && (this.getHr23() == null ? other.getHr23() == null : this.getHr23().equals(other.getHr23()))
            && (this.getHr24() == null ? other.getHr24() == null : this.getHr24().equals(other.getHr24()))
            && (this.getHr25() == null ? other.getHr25() == null : this.getHr25().equals(other.getHr25()))
            && (this.getHr26() == null ? other.getHr26() == null : this.getHr26().equals(other.getHr26()))
            && (this.getHr27() == null ? other.getHr27() == null : this.getHr27().equals(other.getHr27()))
            && (this.getHr28() == null ? other.getHr28() == null : this.getHr28().equals(other.getHr28()))
            && (this.getHr29() == null ? other.getHr29() == null : this.getHr29().equals(other.getHr29()))
            && (this.getHr30() == null ? other.getHr30() == null : this.getHr30().equals(other.getHr30()))
            && (this.getHr31() == null ? other.getHr31() == null : this.getHr31().equals(other.getHr31()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMeterid() == null) ? 0 : getMeterid().hashCode());
        result = prime * result + ((getDepartid() == null) ? 0 : getDepartid().hashCode());
        result = prime * result + ((getMeasureid() == null) ? 0 : getMeasureid().hashCode());
        result = prime * result + ((getMeterno() == null) ? 0 : getMeterno().hashCode());
        result = prime * result + ((getDt() == null) ? 0 : getDt().hashCode());
        result = prime * result + ((getCategory() == null) ? 0 : getCategory().hashCode());
        result = prime * result + ((getHr1() == null) ? 0 : getHr1().hashCode());
        result = prime * result + ((getHr2() == null) ? 0 : getHr2().hashCode());
        result = prime * result + ((getHr3() == null) ? 0 : getHr3().hashCode());
        result = prime * result + ((getHr4() == null) ? 0 : getHr4().hashCode());
        result = prime * result + ((getHr5() == null) ? 0 : getHr5().hashCode());
        result = prime * result + ((getHr6() == null) ? 0 : getHr6().hashCode());
        result = prime * result + ((getHr7() == null) ? 0 : getHr7().hashCode());
        result = prime * result + ((getHr8() == null) ? 0 : getHr8().hashCode());
        result = prime * result + ((getHr9() == null) ? 0 : getHr9().hashCode());
        result = prime * result + ((getHr10() == null) ? 0 : getHr10().hashCode());
        result = prime * result + ((getHr11() == null) ? 0 : getHr11().hashCode());
        result = prime * result + ((getHr12() == null) ? 0 : getHr12().hashCode());
        result = prime * result + ((getHr13() == null) ? 0 : getHr13().hashCode());
        result = prime * result + ((getHr14() == null) ? 0 : getHr14().hashCode());
        result = prime * result + ((getHr15() == null) ? 0 : getHr15().hashCode());
        result = prime * result + ((getHr16() == null) ? 0 : getHr16().hashCode());
        result = prime * result + ((getHr17() == null) ? 0 : getHr17().hashCode());
        result = prime * result + ((getHr18() == null) ? 0 : getHr18().hashCode());
        result = prime * result + ((getHr19() == null) ? 0 : getHr19().hashCode());
        result = prime * result + ((getHr20() == null) ? 0 : getHr20().hashCode());
        result = prime * result + ((getHr21() == null) ? 0 : getHr21().hashCode());
        result = prime * result + ((getHr22() == null) ? 0 : getHr22().hashCode());
        result = prime * result + ((getHr23() == null) ? 0 : getHr23().hashCode());
        result = prime * result + ((getHr24() == null) ? 0 : getHr24().hashCode());
        result = prime * result + ((getHr25() == null) ? 0 : getHr25().hashCode());
        result = prime * result + ((getHr26() == null) ? 0 : getHr26().hashCode());
        result = prime * result + ((getHr27() == null) ? 0 : getHr27().hashCode());
        result = prime * result + ((getHr28() == null) ? 0 : getHr28().hashCode());
        result = prime * result + ((getHr29() == null) ? 0 : getHr29().hashCode());
        result = prime * result + ((getHr30() == null) ? 0 : getHr30().hashCode());
        result = prime * result + ((getHr31() == null) ? 0 : getHr31().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", meterid=").append(meterid);
        sb.append(", departid=").append(departid);
        sb.append(", measureid=").append(measureid);
        sb.append(", meterno=").append(meterno);
        sb.append(", dt=").append(dt);
        sb.append(", category=").append(category);
        sb.append(", hr1=").append(hr1);
        sb.append(", hr2=").append(hr2);
        sb.append(", hr3=").append(hr3);
        sb.append(", hr4=").append(hr4);
        sb.append(", hr5=").append(hr5);
        sb.append(", hr6=").append(hr6);
        sb.append(", hr7=").append(hr7);
        sb.append(", hr8=").append(hr8);
        sb.append(", hr9=").append(hr9);
        sb.append(", hr10=").append(hr10);
        sb.append(", hr11=").append(hr11);
        sb.append(", hr12=").append(hr12);
        sb.append(", hr13=").append(hr13);
        sb.append(", hr14=").append(hr14);
        sb.append(", hr15=").append(hr15);
        sb.append(", hr16=").append(hr16);
        sb.append(", hr17=").append(hr17);
        sb.append(", hr18=").append(hr18);
        sb.append(", hr19=").append(hr19);
        sb.append(", hr20=").append(hr20);
        sb.append(", hr21=").append(hr21);
        sb.append(", hr22=").append(hr22);
        sb.append(", hr23=").append(hr23);
        sb.append(", hr24=").append(hr24);
        sb.append(", hr25=").append(hr25);
        sb.append(", hr26=").append(hr26);
        sb.append(", hr27=").append(hr27);
        sb.append(", hr28=").append(hr28);
        sb.append(", hr29=").append(hr29);
        sb.append(", hr30=").append(hr30);
        sb.append(", hr31=").append(hr31);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}